package com.numberone.system.domain;


import com.numberone.common.base.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 活动表 activity_info
 * 
 * @author numberone
 * @date 2020-09-28
 */
public class ActivityInfo extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 编号 */
	private Long id;
	/** 活动id */
	private Long activityId;
	/** 商品id */
	private Long goodsId;
	/** 商品图 */
	private String img;
	/** 开始时间 */
	private Date startTime;
	/** 结束时间 */
	private Date endTime;

//	private Goods goods;

	public String getImg() {
		return img;
	}

	public void setImg(String img) {
		this.img = img;
	}

//	public Goods getGoods() {
//		return goods;
//	}
//
//	public void setGoods(Goods goods) {
//		this.goods = goods;
//	}

	public void setId(Long id)
	{
		this.id = id;
	}

	public Long getId() 
	{
		return id;
	}
	public void setActivityId(Long activityId) 
	{
		this.activityId = activityId;
	}

	public Long getActivityId() 
	{
		return activityId;
	}
	public void setGoodsId(Long goodsId) 
	{
		this.goodsId = goodsId;
	}

	public Long getGoodsId() 
	{
		return goodsId;
	}
	public void setStartTime(Date startTime) 
	{
		this.startTime = startTime;
	}

	public Date getStartTime() 
	{
		return startTime;
	}
	public void setEndTime(Date endTime) 
	{
		this.endTime = endTime;
	}

	public Date getEndTime() 
	{
		return endTime;
	}

    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("activityId", getActivityId())
            .append("goodsId", getGoodsId())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .toString();
    }
}
